<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${lebeProduct.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${lebeProduct.name}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">编码：</label>
								<div class="col-sm-8">
									<input id="number" name="number" th:value="${lebeProduct.number}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">标题：</label>
								<div class="col-sm-8">
									<input id="title" name="title" th:value="${lebeProduct.title}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<label class="radio-inline"><input id="status" name="status" type="radio" value="2" th:field="${lebeProduct.status}">上架</label>
									<label class="radio-inline"><input id="status" name="status" type="radio" value="1" th:field="${lebeProduct.status}">下架</label>
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">排序：</label>
								<div class="col-sm-8">
									<input id="sort" name="sort" th:value="${lebeProduct.sort}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remarks" name="remarks" th:value="${lebeProduct.remarks}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">零售价：</label>
								<div class="col-sm-8">
									<input id="price" name="price" th:value="${lebeProduct.price}" class="form-control" type="text" onkeyup="checkNum(this,'','',2)">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">兑换有币：</label>
								<div class="col-sm-8">
									<input id="lebemoney" name="lebemoney" th:value="${lebeProduct.lebemoney}" class="form-control" type="text" onkeyup="checkNum(this,'','',0)">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/shop/lebeProduct/edit.js">
	</script>
</body>
</html>
